﻿
using AutoMapper;
using BCDto.TMS.AgentFlowRecord;
using BCDto.TMS.AgentWallet;
using BCEntity.TMS.AgentFlowRecord;
using BCEntity.TMS.AgentWallet;

namespace BCService.MapperProfiles
{
    public class AgentWalletProfile : Profile
    {
        public AgentWalletProfile()
        {
            CreateMap<AgentWalletDto, AgentWalletEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<AgentWalletEntity, AgentWalletDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            CreateMap<AgentFlowRecordDto, AgentFlowRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<AgentFlowRecordEntity, AgentFlowRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}
